[LINUX] Don't bother to write a 5-bit value to a 2-bit field.
authorkfraser@localhost.localdomain <kfraser@localhost.localdomain>
Wed, 4 Oct 2006 17:55:16 +0000 (18:55 +0100)
committerkfraser@localhost.localdomain <kfraser@localhost.localdomain>
Wed, 4 Oct 2006 17:55:16 +0000 (18:55 +0100)
From: Jan Beulich <jbeulich@novell.com>
Signed-off-by: Keir Fraser <keir@xensource.com>
linux-2.6-xen-sparse/arch/x86_64/kernel/process-xen.c

index ca96708d1cf9d5575731983450175b3b5a267203..65ba83c625662ad1862e78a660fd581e9ce8174f 100644 (file)
@@ -350,7 +350,6 @@ static inline void set_32bit_tls(struct task_struct *t, int tls, u32 addr)
        struct user_desc ud = { 
                .base_addr = addr,
                .limit = 0xfffff,
-               .contents = (3 << 3), /* user */
                .seg_32bit = 1,
                .limit_in_pages = 1,
                .useable = 1,